Optimal. Leaf size=42 \[ \sqrt {b x+c x^2}+\frac {b \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{\sqrt {c}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {678, 634, 212}
\begin {gather*} \sqrt {b x+c x^2}+\frac {b \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{\sqrt {c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 634
Rule 678
Rubi steps
\begin {align*} \int \frac {\sqrt {b x+c x^2}}{x} \, dx &=\sqrt {b x+c x^2}+\frac {1}{2} b \int \frac {1}{\sqrt {b x+c x^2}} \, dx\\ &=\sqrt {b x+c x^2}+b \text {Subst}\left (\int \frac {1}{1-c x^2} \, dx,x,\frac {x}{\sqrt {b x+c x^2}}\right )\\ &=\sqrt {b x+c x^2}+\frac {b \tanh ^{-1}\left (\frac {\sqrt {c} x}{\sqrt {b x+c x^2}}\right )}{\sqrt {c}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 59, normalized size = 1.40 \begin {gather*} \sqrt {x (b+c x)} \left (1-\frac {b \log \left (-\sqrt {c} \sqrt {x}+\sqrt {b+c x}\right )}{\sqrt {c} \sqrt {x} \sqrt {b+c x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.42, size = 43, normalized size = 1.02
method | result | size |
default | \(\sqrt {c \,x^{2}+b x}+\frac {b \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{2 \sqrt {c}}\) | \(43\) |
risch | \(\frac {x \left (c x +b \right )}{\sqrt {x \left (c x +b \right )}}+\frac {b \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x}\right )}{2 \sqrt {c}}\) | \(48\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 41, normalized size = 0.98 \begin {gather*} \frac {b \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right )}{2 \, \sqrt {c}} + \sqrt {c x^{2} + b x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.55, size = 100, normalized size = 2.38 \begin {gather*} \left [\frac {b \sqrt {c} \log \left (2 \, c x + b + 2 \, \sqrt {c x^{2} + b x} \sqrt {c}\right ) + 2 \, \sqrt {c x^{2} + b x} c}{2 \, c}, -\frac {b \sqrt {-c} \arctan \left (\frac {\sqrt {c x^{2} + b x} \sqrt {-c}}{c x}\right ) - \sqrt {c x^{2} + b x} c}{c}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x \left (b + c x\right )}}{x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.16, size = 48, normalized size = 1.14 \begin {gather*} -\frac {b \log \left ({\left | -2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x}\right )} \sqrt {c} - b \right |}\right )}{2 \, \sqrt {c}} + \sqrt {c x^{2} + b x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 42, normalized size = 1.00 \begin {gather*} \sqrt {c\,x^2+b\,x}+\frac {b\,\ln \left (\frac {\frac {b}{2}+c\,x}{\sqrt {c}}+\sqrt {c\,x^2+b\,x}\right )}{2\,\sqrt {c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________